<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" id="Loginconset" context="connectinfor" controller="LoginconsetController" namespace="com.yonyou.enterprise">
    <import ref="Loginconset.css" type="css"/>
    <link type="text/css" href="sys/theme.css"/>
    <action port="#{port}" id="settingSave" host="#{ip}" ishttps="#{ishttps}" callback="closeWindow" isDataCollect="true" method="UMService.writeConfigure"/>
    <action id="closeWindow" viewid="com.yonyou.enterprise.StudentList" method="UMView.open" iskeep="false"/>
    <action port="port" id="loadcnfig" host="ip" ishttps="ishttps" method="UMService.loadConfigure"/>
    <div id="viewPage0" onload="loadcnfig">
        <navigatorbar id="navigatorbar0" title="设置连接">
            <input id="button1" onclick="goback()" type="button"/> 
        </navigatorbar>
        <div id="panel2">
            <input bindfield="ip" id="textbox1" maxlength="256" placeholder="主机地址" type="text"/>
            <input bindfield="port" id="textbox2" maxlength="256" placeholder="端口" type="text"/> 
        </div>
        <div id="panel1">
            <label id="label5">启用HTTPS</label>
            <switch id="switch0" bindfield="ishttps" value="off"/> 
        </div>
        <input id="button0" value="保存" onclick="settingSave" class="buttonclass loginbuttonclass" type="button"/> 
    </div> 
</window>
